package com.itheima.reggie.service;

import com.itheima.reggie.entity.DishFlavor;
import org.apache.ibatis.annotations.Delete;

import java.util.List;

public interface DishFlavorService {
    List<DishFlavor> findFlavorsByDishID(Long dishId);

    //根据id判断口味是否存在
    DishFlavor findById(Integer id);
    //添加口味
    Boolean addFlavor(DishFlavor dishFlavor);
    //删除口
    Boolean delete(Long id);
    //添加口味
    Boolean addDishFlavor(List<DishFlavor> dishFlavors);
}
